package com.mtsmda.designPattern1.creational.builder;

public class MainWindow {

	private Menu menu;
	private Toolbar toolbar;

	public MainWindow() {
		super();
	}

	public MainWindow(Menu menu, Toolbar toolbar) {
		this();
		setMenu(menu);
		setToolbar(toolbar);
	}

	public Menu getMenu() {
		return menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	public Toolbar getToolbar() {
		return toolbar;
	}

	public void setToolbar(Toolbar toolbar) {
		this.toolbar = toolbar;
	}

}